<?php

Zend_Loader::loadClass("BaseControllerAction");

class PostprocessorController extends BaseControllerAction
{
	protected $_navMenu = array();

	public function init()
	{
		parent::init();
		// All rendering is done via Pages and layout placeholders other than "content"
		$this->_helper->viewRenderer->setNoRender(true);
		/* $ajaxContext = $this->_helper->getHelper('AjaxContext');
		$ajaxContext->addActionContext('materiali', 'json')
		->setAutoDisableLayout(true)
		->setAutoJsonSerialization(false)
		->initContext();  */
	}

	/**
	 * This action proxies to the preprocessor Page
	 */
	public function indexAction()
	{
		Zend_Loader::loadClass("Application_Page_Postprocessor");
		$page = new Application_Page_Postprocessor();
		$page->run();
	}
	
	public function risultatiSinteticiAction()
	{
		Zend_Loader::loadClass("Application_Page_RisultatiSintetici");
		$page = new Application_Page_RisultatiSintetici();
		$page->run();
	}
	
	public function risultatiGraficiAction()
	{
		Zend_Loader::loadClass("Application_Page_RisultatiGrafici");
		$page = new Application_Page_RisultatiGrafici();
		$page->run();
	}
	
}

